﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace MessageHandler
{
	public class ChatException : System.Exception
	{
		private string caption;

		public string Caption
		{
			get { return caption; }
			set { caption = value; }
		}

		public ChatException(string message, string caption = "Fehler")
			: base(message)
		{
			this.caption = caption;
		}
	}
}
